﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DEEBCG.ExternalLib.CompanyAPI.Model
{
    /// <summary>
    /// 打鼾基本报表信息
    /// </summary>
    public class SnoreReportInfo
    {
        public DateTime Time
        {
            set;
            get;
        }

        public double? Rate
        {
            set;
            get;
        } = null;

        public double? MaxRate
        {
            set;
            get;
        } = null;

        public double? MinRate
        {
            set;
            get;
        } = null;

        public double? AvgRate
        {
            set;
            get;
        } = null;

        public double? AvgDeep
        {
            set;
            get;
        } = null;

        public int? RateCount
        {
            set;
            get;
        } = null;

        /// <summary>
        /// 区间时长（秒）
        /// </summary>
        public double? Interval { set; get; } = null;


        /// <summary>
        /// 获取副本
        /// </summary>
        /// <returns></returns>
        public SnoreReportInfo Clone()
        {
            return (SnoreReportInfo)this.MemberwiseClone();
        }

    }
}
